<%@ page contentType="text/html;charset=utf-8" 
	import="com.zh.UserBean,org.springframework.web.context.*,org.springframework.web.context.support.*,com.zh.Util,java.util.*,com.zh.User,com.zh.House"
%>
<%         
     String username=(String)session.getAttribute("admin");
 %>
<html>
  <head>
    <title>添加报修信息</title>
     <script language="JavaScript" src="script/trim.js"></script>
     <script language="JavaScript">
       function check(){
       	 
       	 document.all.mf.submit();
       }
     </script>
      <style>
	       table{
	         border-collapse:collapse;
	       }
	       table,tr,td {
	       
	       border:1px solid black;
	       }
	       .mima {
	       width:100%;
	       height:40px;
	       background-color:#ADD8E6;
	       }
	       .zi {
	       font-size:20px;
	       position:relative;
	       left:45%;
	       margin-left:-30px;
	       line-height:40px;
	       }
	</style>
  </head>
  <body>
 	<jsp:useBean id="userBean" class="com.zh.UserBean" scope="session"/>
	<div class="mima"><font class="zi">添加报修信息</font></div>
	<form action="SuperServlet" method="post" id="mf">
	<table width="80%" border="0" cellspacing="1" bgcolor="black" align="center">	
	  <tr bgcolor="white">
	    <td align="center">业主姓名:</td>
	    <td><input name="username" id="username" value="<%=username %>" readonly="true"/></td>
	  </tr>
	  <tr bgcolor="white">
	  	<td align="center">报修时间:</td>
	  	<td><input type="date" name="requesttime" id="requesttime"/></td>
	  </tr>
	  <tr bgcolor="white">
	  	<td align="center">报修内容:</td>
	  	<td><input name="requestmessage" id="requestmessage" /></td>
	  </tr>
	  <tr bgcolor="white" style="display:none">
	  	<td align="center">完成状态:</td>
	  	<td><input name="states" id="states" value="未处理"/>
	  	</td>
	  </tr>
	  <tr height="30px" bgcolor="white" >
		   <td  colspan="2">
		   <div  style="position:relative;left:40%;">
		   <input type="button" value="提交" id="xg" onclick="JavaScript:check()" style="cursor:hand"/>
		   <input type="button" value="重置" id="cz" onclick="JavaScript:document.all.mf.reset()"  style="cursor:hand">
		   </div>
		   </td>
		 </tr>
	</table>
	<input type="hidden" name="action" value="addr"/>
	
	
	</form>
  </body>
</html>